package com.play;

public class Level {
    private int levelNo;//各级别号
    private int strLength;//各级别一次输出字符串的长度
    private int strTime;//各级别输出字符串的次数
    private int timeLimit;//各级别闯关的时间限制
    private int perScore;//各级别正确输入一次的得分

    public Level(int levelNo, int strLength, int strTime, int timeLimit, int perScore) {
        this.setLevelNo(levelNo);
        this.setStrLength(strLength);
        this.setStrTime(strTime);
        this.setTimeLimit(timeLimit);
        this.setPerScore(perScore);
    }

    public Level() {
    }

    public int getLevelNo() {
        return levelNo;
    }

    public void setLevelNo(int levelNo) {
        this.levelNo = levelNo;
    }

    public int getStrLength() {
        return strLength;
    }

    public void setStrLength(int strLength) {
        this.strLength = strLength;
    }

    public int getStrTime() {
        return strTime;
    }

    public void setStrTime(int strTime) {
        this.strTime = strTime;
    }

    public int getTimeLimit() {
        return timeLimit;
    }

    public void setTimeLimit(int timeLimit) {
        this.timeLimit = timeLimit;
    }

    public int getPerScore() {
        return perScore;
    }

    public void setPerScore(int perScore) {
        this.perScore = perScore;
    }
}
